package com.cashmama.market.api.application.controller.config.response;

import com.cashmama.market.api.infras.handler.ResponseData;

/**
 * @program: market-api
 * @description
 * @author: frank
 * @create: 2020-01-07 11:09
 **/
public class RegisterProtocolResponse implements ResponseData {

    /**
     * 注册登录协议
     */
    private String registerProtocol;

    /**
     * 隐私协议
     */
    private String privacyPolicy;

    private String termsOfService;

    public String getTermsOfService() {
        return termsOfService;
    }

    public RegisterProtocolResponse setTermsOfService(String termsOfService) {
        this.termsOfService = termsOfService;
        return this;
    }

    public RegisterProtocolResponse(String registerProtocol, String privacyPolicy, String termsOfService) {
        this.registerProtocol = registerProtocol;
        this.privacyPolicy = privacyPolicy;
        this.termsOfService = termsOfService;
    }

    public String getRegisterProtocol() {
        return registerProtocol;
    }

    public RegisterProtocolResponse setRegisterProtocol(String registerProtocol) {
        this.registerProtocol = registerProtocol;
        return this;
    }

    public String getPrivacyPolicy() {
        return privacyPolicy;
    }

    public RegisterProtocolResponse setPrivacyPolicy(String privacyPolicy) {
        this.privacyPolicy = privacyPolicy;
        return this;
    }
}
